package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipParam;
import cc.comac.mom.entity.EquipParamEntity;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipParamService {
	
	@RequestMapping(value = "/p/cs/EquipParamService/insert",method = RequestMethod.POST)
	public ResultBean insert (@RequestBody EquipParam equipParam);
	
	@RequestMapping(value = "/p/cs/EquipParamService/update",method = RequestMethod.POST)
	public ResultBean update (@RequestBody EquipParam equipParam);
	
	@RequestMapping(value = "/p/cs/EquipParamService/batchDelete",method = RequestMethod.POST)
	public ResultBean batchDelete(@RequestBody List<EquipParam> equipParam);
	
	@RequestMapping(value = "/p/cs/EquipParamService/selectAllByPage",method = RequestMethod.POST)
	public EquipParam selectAllByPage(@RequestBody EquipParam equipParam);
	
	@RequestMapping(value = "/p/cs/EquipParamService/selectAll",method = RequestMethod.POST)
	public List<EquipParamEntity> selectAll();
}
